body {
	overflow: hidden;
}

.view-box {
	height: 100%;
}

.index-left,
.index-right {
	transition: width .3s ease;
	float: left;
}

.index-left {
	height: 100%;
	width: 200px;
	background: #35d6c0;
	position: relative;
	z-index: 10;
}

.logo {
	height: 60px;
	line-height: 60px;
	width: 100%;
	font-size: 16px;
	color: #fff;
	box-sizing: unset;
	position: relative;
	box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	background: inherit;
}

.logo img,
.logo-text {
	display: inline-block;
	vertical-align: middle;
}

.logo img {
	height: 80%;
	margin-left: 20px;
	margin-right: 5px;
	transition: margin-left .3s ease;
}

.logo img:nth-child(2) {
	display: none;
}

.logo .logo-text {
	white-space: nowrap;
	transition: width .3s ease;
}

.sidebar {
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.18);
}

#main-menu {
	width: 100%;
	margin: 30px 0;
	padding: 0;
}

#main-menu li {
	position: relative;
}

#main-menu li>a {
	display: block;
	box-sizing: border-box;
	position: relative;
	background: linear-gradient(90deg, #fff 0%, #fff 100%) no-repeat 105% 50%/ 0% 100%;
	/* 	background: linear-gradient(90deg,#fcbad3 0%,#fcbad3 100%) no-repeat 105% 50%/ 0% 100%; */
	/* 加5%保证背景覆盖边缘 */
	transition: background-size .5s ease-out, color .2s;
	overflow: hidden;
}

#main-menu li>a:hover {
	/* 	background: linear-gradient(90deg,#000 0%,#000 100%) no-repeat 105% 50%/ 0% 100%; */
	/* 可以设置退出的颜色 */
	background-size: 100% 100%;
	color: #000000;
}

#main-menu>li>a {
	height: 60px;
	line-height: 60px;
}

#main-menu a:before {
	content: '';
	position: absolute;
	display: block;
	width: 3px;
	height: 0;
	transition: all .5s linear;
}

#main-menu a:hover:before,
#main-menu li.current>a:before {
	height: 100%;
	background: #fff;
}

#main-menu a>span:first-child {
	margin-left: 34px;
	font-size: 18px;
	transition: margin-left .3s ease, font-size .3s ease;
}

#main-menu .li-text,
#main-menu .li-more {
	vertical-align: top;
	display: inline-block;
}

#main-menu .li-text {
	margin-left: 10px;
	font-size: 14px;
}

#main-menu .li-more {
	margin-left: 28%;
	font-size: 12px;
	transition: transform .1s ease;
}

.sub-menu {
	height: 0;
	overflow: hidden;
	padding-left: 16%;
	width: 100%;
	transition: height .5s linear, padding-left .3s linear;
}

.sub-menu li a {
	height: 60px;
	line-height: 60px;
}

#main-menu>li.active .sub-menu {
	height: 300px;
}

#main-menu>li.active .li-more {
	transform: rotate(90deg);
}

.index-right {
	height: 100%;
	width: calc(100% - 200px);
	float: right;
	overflow: hidden;
	position: relative;
	z-index: 5;
}

.index-right .header-wrap {
	width: 100%;
	height: 60px;
	line-height: 60px;
	font-size: 14px;
	color: #fff;
	background: #35d6c0;
	position: relative;
	z-index: 5;
	box-shadow: 0px -4px 6px 8px rgba(0, 0, 0, 0.18);
}

.hd-changeview {
	float: left;
	height: 100%;
	padding: 0 20px;
}

.hd-changeview span {
	font-size: 30px;
	cursor: pointer;
}

.header-right {
	float: right;
	padding-right: 15px;
}

.header-right>li {
	display: inline-block;
	height: 60px;
	float: left;
	margin: 0 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	position: relative;
}

li.hd-info {
	padding: 0 5px;
}

li.hd-user {
	margin: 0;
	padding: 0 15px 0 10px;
}

.hd-user img {
	height: 32px;
	width: 32px;
	border-radius: 100%;
	transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.hd-user .name {
	margin-left: 15px;
}

.user-menu {
	width: 100%;
	height: auto;
	margin-top: 10px;
	position: absolute;
	top: 100%;
	left: 0;
	color: #000;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
	border-radius: 3px;
	overflow: hidden;
	display: none;
}

.user-menu>li {
	text-align: center;
	border-bottom: 1px solid #d2d2d2;
	height: 50px;
	line-height: 50px;
	background: #fff;
}

.user-menu>li:hover {
	color: #fff;
	background: #35d6c0;
}

.user-menu>li:last-child {
	border-bottom: none;
}

.hd-user:hover img {
	transform: scale(1.3);
	box-shadow: 0px 0px 6px 4px rgba(0, 0, 0, 0.18);
}

.hd-info img,
.hd-set img {
	height: 22px;
	width: 22px;
}

.hd-info img {
	transform-origin: 50% 0;
}

@keyframes swing {
	0% {
		transform: rotate(0deg)
	}

	25% {
		transform: rotate(15deg)
	}

	75% {
		transform: rotate(-15deg)
	}

	100% {
		transform: rotate(0deg)
	}
}

.hd-info:hover img {
	animation: swing .4s linear;
}

.hd-set img {
	transition: transform .4s linear;
}

.hd-set:hover img {
	transform: rotate(90deg);
}

/* 伸缩页面 */
.stretch-view .index-left {
	width: 60px;
}

.stretch-view .logo img {
	margin-left: 5px;
}

.stretch-view .logo .logo-text {
	width: 0px;
	overflow: hidden;
}

.stretch-view #main-menu a>span:first-child {
	margin-left: 21px;
	font-size: 22px;
}

.stretch-view #main-menu .li-text,
.stretch-view #main-menu .li-more {
	width: 0;
	overflow: hidden;
}

.stretch-view .sub-menu {
	padding-left: 0;
}

.stretch-view .index-right {
	width: calc(100% - 60px);
}

/* 伸缩页面 */

/* 媒体查询 */
@media (max-width: 767px) {
	.index-left {
		width: 60px;
	}

	.logo img {
		margin-left: 5px;
	}

	.logo .logo-text {
		width: 0px;
		overflow: hidden;
	}

	#main-menu a>span:first-child {
		margin-left: 21px;
		font-size: 22px;
	}

	#main-menu .li-text,
	#main-menu .li-more {
		width: 0;
		overflow: hidden;
	}

	.sub-menu {
		padding-left: 0;
	}

	.index-right {
		width: calc(100% - 60px);
	}

	.hd-changeview {
		display: none;
	}
}

/* 媒体查询 */
